package me.yobol.greentable.bean;

import java.io.Serializable;

/**
 * @author Yobol
 *
 */
public class OrderCommodityBean implements Serializable {
	
	private static final long serialVersionUID = -3085458729973958901L;
	
	private int commodityId;
	private int ingredientId;
	private int commodityQuantity;
	private int orderId;
	
	public OrderCommodityBean(){
		
	}
	
	public OrderCommodityBean(int ingredeintId ,int commodityQuantity, int orderId) {
		this.ingredientId = ingredeintId;
		this.commodityQuantity = commodityQuantity;
		this.orderId = orderId;
	}

	public OrderCommodityBean(int commodityId, int ingredeintId ,int commodityQuantity,
			int orderId) {
		this(ingredeintId,commodityQuantity,orderId);
		this.commodityId = commodityId;
	}

	public int getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(int commodityId) {
		this.commodityId = commodityId;
	}

	public int getIngredientId() {
		return ingredientId;
	}
	public void setIngredientId(int ingredientId) {
		this.ingredientId = ingredientId;
	}

	public int getCommodityQuantity() {
		return commodityQuantity;
	}

	public void setCommodityQuantity(int commodityQuantity) {
		this.commodityQuantity = commodityQuantity;
	}
	public int getOrderId() {
		return orderId;
	}
	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}
	
	

}
